// 审核项目类型
export interface ExamineItem {
  id: number
  name: string
  type: string
  status: number
  createdAt: string
  updatedAt: string
  rejectReason?: string
  // 关联信息
  meetingRoom?: any
  hotel?: any
  [key: string]: any
}

// 审核列表响应
export interface ExamineListResult {
  list: ExamineItem[]
  total: number
}

// 审核类型
export enum ExamineType {
  MEETING_ROOM = 'meeting_room',
  HOTEL = 'hotel',
}

// 审核状态
export enum ExamineStatus {
  PENDING = 0,
  APPROVED = 1,
  REJECTED = 2,
}

export enum ENUM_EXAMINE_APPROVE_STATUS {
  审核中 = '审核中',
  审核通过 = '审核通过',
  审核不通过 = '审核不通过',
  提交 = '提交',
}

export interface ExamineApproveParams {
  activityId: string
  userId: string
  reviewerUserId: string
  content: string
  imageUrl?: string
  startTime?: string
  endTime?: string
}

export interface ExamineApproveCheckParams {
  id: string
  status?: string
  remark?: string
  repetitionCheck?: string
}

export interface ExamineApproveListParams {
  page: number
  limit: number
  activityId?: string
  type?: string // 1：我发起的，2：我审核的
}

export interface ExamineApproveLogParams {
  examineApproveId: string
}
